<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>

    <script>
        const arr = ['胡歌', '彭于晏', '侯卿']
        let [hug, pyy, hq] = arr
        console.log(hug,pyy,hq);


        const ajb={
            name:'胡歌',
            age:40,
            fu:function a(e) {
                console.log('彭于晏');
            }
        }
        let {name,age,fu}=ajb
        console.log(name,age,fu);
        fu();
    </script>
</body>

</html>